Skip to main content

DeleteSingletonCharOf

Type

statement

Summary

Deletes the char at index Index in Target.

Syntax

delete char <Index> of <Target>

Description

Replaces the char at the given index with the empty string.

note

It is an error if Index is out of range.

Parameters

NameTypeDescription

Index

An expression which evaluates to a valid integer index of Target.

Target

A string container.

Examples

variable tVar as String
put "thorough" into tVar
delete char 3 of tVar -- tVar contains "through"
Thank you for your feedback!

Was this page helpful?